﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ProBugTracker.Domain;
using ProBugTracker.Data;

namespace ProBugTracker.Core.Interface
{
    public interface IPermissionManager
    {
        bool AddNewPermission(string userPermissionName);
        RoleAssignPermissionDB AddRolePermission(RoleAssignPermission rolePermission);
        bool RemoveRolePermission(int roleID, int permissionID);
        IList<RoleAssignPermission> ReadRolePermissionByRoleID(int roleID);
    }
}
